<%--
  Created by IntelliJ IDEA.
  User: Gustuy
  Date: 2021/7/12
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</head>
<body>
<form action="JSTLCore.jsp" method="get">
    <input type="text" name="name" value="${param.name}">
    <input type="submit">
</form>
<c:if test="${param.name=='admin'}" var="isadmin">
    <c:out value="Welcome Admin"/>
</c:if>
<c:out value="${isadmin}"></c:out>
</body>
</html>
